package org.bright.dao;

import org.apache.ibatis.annotations.Param;
import org.bright.entity.Product;

import java.util.List;

public interface ProductDao {
    List<Product> getProducts(@Param("product_name") String productName);

    int insertProduct(Product product);

    int deleteProductById(int id);

    int updateProduct(Product product);
}
